import {addItem, addCounter} from './const'

export default{
    
        [addCounter](state, payload) {
            payload.count += 1
        },
        [addItem](state, payload) {
            state.cartList.push(payload)
        }
    
}